package controllers

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

func settingsHandler(c *gin.Context) {
	if c.Request.Method == http.MethodGet {
		c.HTML(http.StatusOK, "settings.html", gin.H{
			"username": c.MustGet("username").(string),
			"title":    "设置",
		})
	}
}
